package com.bringway.p2p.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bringway.p2p.dao.DemoDao;
import com.bringway.p2p.service.DemoService;

import net.sf.json.JSONObject;

@Service
public class DemoServiceImpl implements DemoService {

	@Autowired
	private DemoDao demoDao;
	
	@Override
	public List<Map<String, Object>> queryDemoList(String nodeId) {
		return demoDao.queryDemoList(nodeId);
	}

}
